import Vue from 'vue'
import { Button, Icon, Tabbar, TabbarItem, Form, Field, NavBar, Toast, Search, Swipe, SwipeItem, NoticeBar, Col, Row, Grid, GridItem, Lazyload, Card, Sidebar, SidebarItem, TreeSelect, SubmitBar, Checkbox, CheckboxGroup, Image as VanImage, SwipeCell } from 'vant'

Vue.use(Button)
Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Form)
Vue.use(Field)
Vue.use(NavBar)
Vue.use(Toast)
Vue.use(Search)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(NoticeBar)
Vue.use(Col)
Vue.use(Row)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Lazyload, {
  lazyComponent: true
})
Vue.use(Card)
Vue.use(Sidebar)
Vue.use(SidebarItem)
Vue.use(SubmitBar)
Vue.use(TreeSelect)

Vue.use(Checkbox)
Vue.use(CheckboxGroup)

Vue.use(VanImage)

Vue.use(SwipeCell)
